#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <iostream>
#include <vector>

using namespace std;

struct ListNode {
    int val;
    ListNode* next;
    ListNode(int x) : val(x), next(NULL) {}
};

struct TreeNode {
    int val;
    TreeNode* left;
    TreeNode* right;
    TreeNode(int x) : val(x), left(NULL), right(NULL) {}
};

class Solution {
   public:
    string replaceSpace(string s) {
        string tmp = "";
        for (int i = 0; i < s.length(); i++) {
            if (s[i] != ' ') {
                tmp += s[i];
            } else {
                tmp += "%20";
            }
        }
        return tmp;
    }
};

int main() {
    string t = Solution().replaceSpace("i love you");
    cout << "Hello, World!";
    return 0;
}